package com.ljx.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author LJX
 * @Description: TODO
 * @Date: 2022/11/20 15:35
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {

//	@TableId( type = IdType.AUTO)
	private Long id;
	private String name;
	private String email;
	private Integer age;

	public User(String name, String email, Integer age) {

		this.name = name;
		this.email = email;
		this.age = age;
	}
}
